<div class="pad-10" >
     
    <div class="navigate">
		<h1>管理员列表</h1>


        <span class="ui-button ui-button-morange fr">
            <a class="ui-button-text fr" href="/index.php/Admin/Admin/add">添加</a>
        </span>

  	</div>
  	
    <div class="table-list">
    <table width="100%" cellspacing="0">
        <thead>
            <tr>
                <th width="60" style="font-size:12px;">编号</th>
                <th width=120>添加日期</th>
                <th width=80>用户名</th>
                <th width=200>真实姓名</th>
                <th width=60>分组</th>
                <th width=80>邮箱</th>
                <th width=80>手机</th>           
                <th width=60>状态</th>
                <th width=120>最后登录IP</th>
                <th width=140>最后登录日期</th>
                <th width=80>操作</th>
            </tr>
        </thead>
    	<tbody>
        <volist name="admins" id="a" >
        <tr>
        	<td align="center">{$a.id}</td>
        	<td align="center">{$a.created_fmt}</td>
            <td align="center">{$a.name}</td>
            <td align="center">{$a.real_name}</td>
            <td align="center">{$a.group_name}</td>
            <td align="center">{$a.email}</td>
            <td align="center">{$a.mobile_phone}</td>
            <td align="center">
            	<if condition="$a.disabled eq 1">
				<span class="color-red">禁用</span>
				<else />
				<span class="color-green">启用</span>
				</if>
            </td>    
            <td align="center">{$a.last_ip}</td>
            <td align="center">{$a.last_time}</td>
            
               
            <td align="center">
            	<a href="/index.php/Admin/Admin/detail?id={$a.id}" target="_self">编辑</a>
            	<br />
            	<a href="/index.php/Admin/Admin/update_pwd?id={$a.id}" target="_self">修改密码</a>
            </td>
        </tr>
        </volist>
    	</tbody>
    </table>

    </div>
    
</div>
